package com.ftg.examsys.service;

import com.ftg.examsys.entity.RoleEntity;
import com.ftg.examsys.mapper.RoleMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * 角色管理
 *
 * @author kangjx
 * @version 1.0
 * @date 2023/9/12 上午8:55
 */
@Service
public class RoleService {

    //自动装配 byname bytype
    @Resource
    RoleMapper roleMapper;

    public List<RoleEntity> showall(){
        return roleMapper.showall();
    }

}
